package abstemplate;

import gate.Key;

/**
 * @Author buyee
 * @Date 2022/7/1 下午5:42
 */
public abstract class AbstractGate {

    Key key;

    protected abstract void canBeOpened(Key key);

    protected abstract void canBeClosed();

    public void canBeAcross() {
        System.out.println("走进来喝杯水...");
    }
}
